package com.ruoyi.match.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品对象 match_woek
 * 
 * @author 星野漫游
 * @date 2024-06-02
 */
public class MatchWoek extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 作品id */
    private Long workId;

    /** 作品名称 */
    @Excel(name = "作品名称")
    private String workName;

    /** 参赛姓名 */
    @Excel(name = "参赛姓名")
    private String participant;

    /** 学校 */
    @Excel(name = "学校")
    private String school;

    /** 报名组别 */
    @Excel(name = "报名组别")
    private String group;

    /** 平均分 */
    @Excel(name = "平均分")
    private Long averageScore;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submissionTime;

    /** 操作 */
    @Excel(name = "操作")
    private String actions;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setParticipant(String participant) 
    {
        this.participant = participant;
    }

    public String getParticipant() 
    {
        return participant;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }
    public void setGroup(String group) 
    {
        this.group = group;
    }

    public String getGroup() 
    {
        return group;
    }
    public void setAverageScore(Long averageScore) 
    {
        this.averageScore = averageScore;
    }

    public Long getAverageScore() 
    {
        return averageScore;
    }
    public void setSubmissionTime(Date submissionTime) 
    {
        this.submissionTime = submissionTime;
    }

    public Date getSubmissionTime() 
    {
        return submissionTime;
    }
    public void setActions(String actions) 
    {
        this.actions = actions;
    }

    public String getActions() 
    {
        return actions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("participant", getParticipant())
            .append("school", getSchool())
            .append("group", getGroup())
            .append("averageScore", getAverageScore())
            .append("submissionTime", getSubmissionTime())
            .append("actions", getActions())
            .toString();
    }
}
